﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace StoragePeriod.Model.FoodTesting
{
    /// <summary>
    /// 检测记录
    /// </summary>
    [Serializable]
    public partial class E_FoodRecord
    {
        public E_FoodRecord()
        { }
        #region Model
        private int _id;
        private int? _foodtypeid;
        private int? _rawid;
        private string _rawname;
        private DateTime? _foodtime;
        private string _foodresult;
        /// <summary>
        /// 
        /// </summary>
        public int id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 检测类型（1：Vc含量测定）
        /// </summary>
        public int? FoodTypeID
        {
            set { _foodtypeid = value; }
            get { return _foodtypeid; }
        }
        /// <summary>
        /// 原料ID
        /// </summary>
        public int? RawID
        {
            set { _rawid = value; }
            get { return _rawid; }
        }
        /// <summary>
        /// 原料名称
        /// </summary>
        public string RawName
        {
            set { _rawname = value; }
            get { return _rawname; }
        }
        /// <summary>
        /// 检测时间
        /// </summary>
        public DateTime? FoodTime
        {
            set { _foodtime = value; }
            get { return _foodtime; }
        }
        /// <summary>
        /// 检测结果
        /// </summary>
        public string FoodResult
        {
            set { _foodresult = value; }
            get { return _foodresult; }
        }
        #endregion Model

        #region 数据接口
        /// <summary>
        /// 原料ID集合 用“,”隔开
        /// </summary>
        public string RawIDS { get; set; }

        /// <summary>
        /// 检测开始时间
        /// </summary>
        public DateTime? FoodStartTime { get; set; }

        /// <summary>
        /// 检测结束时间
        /// </summary>
        public DateTime? FoodEndTime { get; set; }
        #endregion

    }
}
